package com.oneraku.service.exceptions;


import com.oneraku.service.utils.R;
import com.oneraku.service.utils.ResultCode;

/**
 * 缺少参数
 * @Author: hui.ren@huberbuy.com
 * @Date: 2020/1/10 15:59
 */
public class UnLoginException extends RuntimeException {
    public R getResult(){
        R result = new R();
        result.setCode(ResultCode.UNLOGIN.getCode());
        result.setMessage("未登录");
        return result;
    }
}
